/**
 * @copyright 2017 sinping.com 北京芯平科技股份有限公司. All rights reserved.
 * 本内容仅限于北京芯平科技股份有限公司内部传阅，禁止外泄以及用于其他的商业目的.
 */
package com.sinping.qh.dto.auth;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 *
 * @author guojie
 * @create 2017/12/26
 */
public class UserAndResourceDTO {


    private static final long serialVersionUID = 1L;

    /**
     * 唯一主键值 默认是uuid
     */
    private String id;


    private String username;

    /**
     * 用户默认昵称
     */
    private String nickname;
    /**
     * 0：正常1：异常
     */
    private Integer status;
    /**
     * 数据生成时间 不能为空，数据库自动生成
     */

    private Date createTime;
    /**
     * 每次更新自动修改时间
     */

    private List<ResourceDTO> resourceDTOList = new ArrayList<>();

    private Date updateTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<ResourceDTO> getResourceDTOList() {
        return resourceDTOList;
    }

    public void setResourceDTOList(List<ResourceDTO> resourceDTOList) {
        this.resourceDTOList = resourceDTOList;
    }
}
